
import { ELEMENT_TYPE_SLIDE } from '../element/Slide';
import { ELEMENT_TYPE_TEXT_AREA, ELEMENT_TYPE_TEXT_INPUT } from '../element/Form';
import { ELEMENT_TYPE_EMBEDDED } from '../element/Embedded';
import {
    FIELD_TYPE_TEXT,
    FIELD_TYPE_HTML,
    FIELD_TYPE_NUMBER,
    FIELD_TYPE_RADIO,
    FIELD_TYPE_IMAGE,
    FIELD_TYPE_DATE,
    FIELD_TYPE_DATERANGE,
    FIELD_TYPE_IMAGES,
} from '../../../utils/fieldTypes';
import { ELEMENT_TYPE_IMAGE } from '../element/Image';
import { ELEMENT_TYPE_TEXT } from '../element/Text';

export default {
    [ELEMENT_TYPE_SLIDE]: [FIELD_TYPE_IMAGES],
    [ELEMENT_TYPE_IMAGE]: [FIELD_TYPE_IMAGE],
    [ELEMENT_TYPE_TEXT_INPUT]: [FIELD_TYPE_TEXT],
    [ELEMENT_TYPE_TEXT_AREA]: [FIELD_TYPE_TEXT],
    [ELEMENT_TYPE_TEXT]: [FIELD_TYPE_DATERANGE, FIELD_TYPE_DATE, FIELD_TYPE_NUMBER, FIELD_TYPE_TEXT, FIELD_TYPE_RADIO],
    [ELEMENT_TYPE_EMBEDDED]: [FIELD_TYPE_TEXT, FIELD_TYPE_HTML],
};
